﻿using BusinessLogic.BusinessEntity.Entities;
using DataAccess.Services.Constants;

namespace BusinessLogic.Mappers.Security.Mapping
{
	class RoleMapping : EnumMapping<Role, int>
	{
		static RoleEnum RoleEnum
		{
			get
			{
				return RoleEnum.Instance;
			}
		}
		
		static RoleMapping()
		{
			AddMapping(Role.Application, RoleEnum.Application);
			AddMapping(Role.BankEmployee, RoleEnum.BankEmployee);
			AddMapping(Role.Client, RoleEnum.Client);
		}
	}
}
